package com.hualan.sfzy.entity;

import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName course_order
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseOrder {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 下单时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    /**
     * 订单状态
     */
    private String status;

    /**
     * 实际支付金额
     */
    private BigDecimal actualPrice;

    /**
     * 删除标记
     */
    private Integer del;
}